package cn.kogee.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.kogee.basic.domain.Basedomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends Basedomain {
            @Excel(name = "店铺名称",orderNum = "1",width = 30)
            private String name;
            @Excel(name = "店铺电话",orderNum = "2",width = 30)
            private String tel;
            @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMB+8")
            @Excel(name = "入驻时间",orderNum = "3",width = 30,exportFormat = "yyyy-MM-dd")
            private Date registerTime=new Date();
            //店铺状态：1待审核，2审核通过待激活，3激活成功，4驳回
            private Integer state=1;
            @Excel(name = "店铺地址",orderNum = "4",width = 30)
            private String address;
            private String logo;
            private Long admin_id;
            //用户对象
            private Employee admin;


}
